Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge code that handles Adjoint and Transpose #49521

Merged
merged 2 commits into from
May 5, 2023
Merged

Conversation

dkarrasch
Copy link
Member

@dkarrasch dkarrasch commented Apr 26, 2023

This is a manual rebase of #33069. Some of the then proposed changes have become obsolete, and I have added a few new ones, most notably the matmul.jl methods. This cuts the number of mul! methods from 114 to 90 88.

Closes #33069.

Co-authored-by: Takafumi Arakaki [email protected]

@dkarrasch dkarrasch added the linear algebra Linear algebra label Apr 26, 2023
Comment on lines -403 to -405
@inline mul!(C::AbstractVector, A::AbstractVecOrMat, tB::Transpose{<:Any,<:AbstractVecOrMat},
alpha::Number, beta::Number) =
generic_matmatmul!(C, 'N', 'T', A, tB.parent, MulAddMul(alpha, beta))
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only change in tests is due to the removal of this method, which is at odds with all the rest of the mul! functions due to the vector target. This only works when all vectors have length 1, anyway. And there is no Adjoint analogue.

@dkarrasch
Copy link
Member Author

@nanosoldier runtests()

@nanosoldier
Copy link
Collaborator

Your package evaluation job has completed - possible new issues were detected.
A full report can be found here.

@dkarrasch dkarrasch merged commit 6adea08 into master May 5, 2023
@dkarrasch dkarrasch deleted the dk/at_simplify branch May 5, 2023 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
linear algebra Linear algebra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants